package com.lc.service;

import java.util.List;

import com.github.pagehelper.PageInfo;
import com.lc.entity.Page;

public interface BaseService<T> {

	public T selectOne(Object obj);

	public List<T> select(Object obj);

	public PageInfo<T> selectByPage(Object obj, Page page);
	
	public int insert(T t);
	
	public int update(T t);
	
	public int delete(Object obj);

}
